package com.vhall.component.entity.sign.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author shenqing
 * @date 2021/4/24 12:05
 */
@Data
public class SignInToVpsReqVO implements Serializable {

    private static final long serialVersionUID = 5228730500744069574L;

    /**
     * VSS临时令牌
     */
    @ParamName("vss_token")
    private String vssToken;
    /**
     * paas房间id
     */
    @ParamName("sign_id")
    @NotNull(message = "不能为空")
    private Long signId;
    /**
     * paas房间id
     */
    @ParamName("room_id")
    @Pattern(regexp = "[0-9a-zA-Z_]{1,32}", message = "参数异常")
    @NotBlank(message = "不能为空")
    private String roomId;
}
